package com.bys.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Service
@FeignClient("EDU-OPENFEIGN-PROVIDER")
public interface PayService {
    @GetMapping("/pay/string/getId/{payId}")
    String getStringGetId(@PathVariable Integer payId);
    @GetMapping("/provider/timeout")
    String timeoutTest();
}
